package com.zelix;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;

abstract class f4 extends d4
        implements iq, jd, jz {

    int b;
    int c;
    int d;
    int e;
    int f;
    int g;
    int h;
    int i;
    int j;
    int k;
    int l;
    int m;
    int n;
    Integer o;
    Integer p;
    Integer q;
    Integer r;
    Integer s;
    Integer t;
    Integer u;
    Integer v;
    Integer w;
    String x;
    it y;
    z2 z;
    JLabel A;
    s4 B;
    JComboBox C;
    DefaultComboBoxModel D;
    final t3 E = new t3(new DefaultListModel());
    final DefaultListModel F;
    np G;
    JButton H;
    JButton I;
    int J;
    f1 K;
    static String L[];
    private static String M[];

    f4(it it, z2 z2_1) {
        b = 99;
        c = 99;
        d = 99;
        e = 99;
        f = 99;
        g = 99;
        h = 99;
        i = 99;
        j = 99;
        k = 99;
        l = 99;
        m = 99;
        n = 99;
        y = it;
        z = z2_1;
        g();
        o = new Integer(f);
        p = new Integer(g);
        q = new Integer(h);
        r = new Integer(i);
        s = new Integer(j);
        t = new Integer(k);
        u = new Integer(l);
        v = new Integer(m);
        w = new Integer(n);
        hq hq1 = new hq(this);
        j0 j0_1 = new j0(this);
        setLayout(j0_1);
        A = new JLabel();
        B = new s4();
        B.addActionListener(hq1);
        B.getDocument().addDocumentListener(new gz(this, B));
        add(B, M[6]);
        add(A, M[0]);
        D = new DefaultComboBoxModel();
        C = new JComboBox(D);
        C.setToolTipText(to.b(to.zb));
        f();
        C.addItemListener(new id(this));
        add(C, M[3]);
        F = (DefaultListModel) E.getModel();
        a(E);
        E.setSelectionMode(2);
        G = new np(this);
        E.addListSelectionListener(G);
        add(new q4(E), M[5]);
        H = new JButton(M[7]);
        H.setToolTipText(to.b(to.xb));
        H.addActionListener(hq1);
        add(H, M[1]);
        I = new JButton(M[2]);
        I.setToolTipText(to.b(to.yb));
        I.addActionListener(hq1);
        add(I, M[4]);
        j0_1.a(L);
    }

    public final void a(int i1) {
        if (J != i1) {
            c();
        } else
            b();
    }

    public final void a(ActionEvent actionevent) {
        int i1;
        int j1;
        Component component = (Component) actionevent.getSource();
        if (component == H) {
            z.n();
            a();
            z.l();
        } else {
            if (component == I) {
                B.setText(x);
                C.setSelectedIndex(J);
                i1 = F.getSize();
                for (j1 = 0; j1 < i1; j1++) {
                    if (K.contains(new Integer(j1))) {
                        if (E.isSelectedIndex(j1))
                            continue; /* Loop/switch isn't completed */
                        E.addSelectionInterval(j1, j1);
                    }else
                    E.removeSelectionInterval(j1, j1);
                }
                H.setEnabled(false);
                I.setEnabled(false);
                zz.b(B);
            } else {
                z.n();
                a();
                z.l();
            }
        }
    }

    abstract void a();

    final void b() {
        if (!d()) {
            H.setEnabled(false);
            I.setEnabled(false);
        }
    }

    final void c() {
        H.setEnabled(true);
        I.setEnabled(true);
    }

    final boolean d() {
        return !B.getText().trim().equals(x) || e();
    }

    abstract boolean e();

    abstract void f();

    abstract void a(t3 t3_1);

    public final void a(int ai[], int ai1[]) {
        int i1;
        for (i1 = 0; i1 < ai.length; i1++) {
            if (!K.contains(new Integer(ai[i1]))) {
                c();
                return;
            }
        }
        for (int j1 = 0; j1 < ai1.length; j1++) {
            if (K.contains(new Integer(ai1[j1]))) {
                c();
                return;
            }
        }
        b();
    }

    abstract void g();

    public void a(gs gs, Object obj, Object obj1, Object obj2) {
        new kz(this, gs, obj, obj1, obj2);
    }

    public abstract void b(gs gs, Object obj, Object obj1, Object obj2);

    public final void a(String s1) {
            if (!s1.equals(x)) {
                c();
            }else
            b();
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x6d;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x55;
                    break;
                case 1:
                    key = 87;
                    break;
                case 2:
                    key = 80;
                    break;
                case 3:
                    key = 85;
                    break;
                default:
                    key = 109;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[] = new String[8];
        as[0] = z(z("0/9&\031<97\033\f82\0347\001"));
        as[1] = z(z("6?>2/!9"));
        as[2] = z(z("\0072#!\002'2"));
        as[3] = z(z("4430\036&\024?8\017:\025?-"));
        as[4] = z(z(" 94:/!9"));
        as[5] = z(z("884<\013<2\"\031\036!"));
        as[6] = z(z("%%?%\b'#)\020\t<#\0269\t"));
        as[7] = z(z("\026?1;\n0"));
        M = as;
        String as1[] = new String[26];
        as1[0] = z(z("96):\030!y=<\003\002>4!\005hfee"));
        as1[1] = z(z("96):\030!y=<\003\035292\005!jag]"));
        as1[2] = z(z("0/9&\031<97\033\f82\0347\001{#?%Pd"));
        as1[3] = z(z("0/9&\031<97\033\f82\0347\001{;53\031hb"));
        as1[4] = z(z("0/9&\031<97\033\f82\0347\001{%92\005!j3:\003!69;\b'y\"<\n=#}`"));
        as1[5] = z(z("%%?%\b'#)\020\t<#\0269\t{#?%P0/9&\031<97\033\f82\0347\001{5?!\031::{d"));
        as1[6] = z(z("%%?%\b'#)\020\t<#\0269\t{;53\031hb"));
        as1[7] = z(z("%%?%\b'#)\020\t<#\0269\t{%92\005!j3:\003!69;\b'y\"<\n=#}`"));
        as1[8] = z(z("4430\036&\024?8\017:\025?-C!8 h\035'8 0\037!.\0251\004!\021<1C78$!\0028|c"));
        as1[9] = z(z("4430\036&\024?8\017:\025?-C926!P`"));
        as1[10] = z(z("4430\036&\024?8\017:\025?-C'>7=\031h4?;\0314>>0\037{%92\005!z2!\003\002>4!\005xf`"));
        as1[11] = z(z("884<\013<2\"\031\036!y$:\035h636\b&$\023:\00078\022:\025{5?!\031::{f"));
        as1[12] = z(z("884<\013<2\"\031\036!y<0\013!je"));
        as1[13] = z(z("884<\013<2\"\031\036!y\"<\n=#m4\01662#&.::2:/:/~'\0042?$"));
        as1[14] = z(z("884<\013<2\"\031\036!y2:\031!8=h\016:9$4\004;2\"{\017:#$:\000xd"));
        as1[15] = z(z("7#>\002\0041#8h\0004/x6\005;0\022!\003{353\f ;$\002\0041#8yM 94:/!9~1\b36%9\031\002>4!\005|"));
        as1[16] = z(z("7#>\035\b<08!P86(}\016=97\027\031;y40\0134\"<!%0>7=\031yw%;\t:\025$;C1264\0309#\0300\0042?$|"));
        as1[17] = z(z("7#>\024\03706\0300\0042?$h\016:9$4\004;2\"{\0050>7=\031x'\":\0350%$,(1>$\023\0011y2:\031!8="));
        as1[18] = z(z("6?>2/!9~\"\0041#8h\017!9\007<\t!?"));
        as1[19] = z(z("6?>2/!9~=\b<08!P7#>\035\b<08!"));
        as1[20] = z(z("6?>2/!9~6\b;#5'4h5$;,'21\035\b<08!Gfg\177d]ew{u\035'8 0\037!.\0251\004!\021<1C78$!\0028"));
        as1[21] = z(z("6?>2/!9~'\0042?$h\016:9$4\004;2\"{\037<08!@`"));
        as1[22] = z(z(" 94:/!9~\"\0041#8h\017!9\007<\t!?"));
        as1[23] = z(z(" 94:/!9~=\b<08!P7#>\035\b<08!"));
        as1[24] = z(z(" 94:/!9~6\b;#5'4h5$;,'21\035\b<08!Gbg\177d]ew{u\035'8 0\037!.\0251\004!\021<1C78$!\0028"));
        as1[25] = z(z(" 94:/!9~'\0042?$h\016:9$4\004;2\"{\037<08!@`"));
        L = as1;
    }
}